package com.itheima.demo02;

public abstract class Cooking {
    public abstract void oil();//油

    public abstract void greens();//蔬菜

    public abstract void flavour();//调料

    public abstract void fry();//翻炒;
    //定义一个炒菜的方法;
    public final void Cooking(){
        oil();
        greens();
        flavour();
        fry();
    }
}
